/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package LiveReservations.control.info;

import LiveReservations.control.action.EActionState;
import java.util.Date;
import LiveReservations.model.clients.AClient;
import LiveReservations.model.business.ABusiness;

/**
 *
 * @author grigo_000
 */
public class ReservationInfo implements IInformation {

    private AClient client;
    private ABusiness store;
    private Date date;
    private int seats;
    
    public ReservationInfo(AClient client, ABusiness store) {
        this.client = client;
        this.store = store;
        this.date = new Date();
    }

    //FIXME: hascode and equality
    @Override
    public int hashCode() {

        return 1;
    }
    
    @Override
    public boolean equals(Object o)
    {
        return true;
        
    }

    public AClient getClient() {
        return client;
    }

    public void setClient(AClient client) {
        this.client = client;
    }

    public ABusiness getStore() {
        return store;
    }

    public void setStore(ABusiness store) {
        this.store = store;
    }

    public Date getDate() {
        return date;
    }

    public void setSeats(int seats) {
        this.seats = seats;
    }

    public int getSeats() {
        return seats;
    }

    @Override
    public EActionState getActionState() {
        return EActionState.RESERVATION;
    }
    
}
